package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 临时学员，补课学员
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("student_grade_temporary")
@ApiModel(value = "StudentGradeTemporary对象", description = "临时学员，补课学员")
public class StudentGradeTemporary implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("排课id")
    private Long schedulingDetailId;

    @ApiModelProperty("班级id")
    private Long gradeId;

    @ApiModelProperty("学员id")
    private Long studentId;

    @ApiModelProperty("0临时学员，1补课学员")
    private Integer type;

    private Integer deleted;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    private LocalDateTime deletedAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getSchedulingDetailId() {
        return schedulingDetailId;
    }

    public void setSchedulingDetailId(Long schedulingDetailId) {
        this.schedulingDetailId = schedulingDetailId;
    }
    public Long getGradeId() {
        return gradeId;
    }

    public void setGradeId(Long gradeId) {
        this.gradeId = gradeId;
    }
    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }
    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }
    public LocalDateTime getDeletedAt() {
        return deletedAt;
    }

    public void setDeletedAt(LocalDateTime deletedAt) {
        this.deletedAt = deletedAt;
    }

    @Override
    public String toString() {
        return "StudentGradeTemporary{" +
            "id=" + id +
            ", schedulingDetailId=" + schedulingDetailId +
            ", gradeId=" + gradeId +
            ", studentId=" + studentId +
            ", type=" + type +
            ", deleted=" + deleted +
            ", createdAt=" + createdAt +
            ", updatedAt=" + updatedAt +
            ", deletedAt=" + deletedAt +
        "}";
    }
}
